public class TestDemo1 {
    public static void main(String[] args) {
        Phone xiaomi = new Phone();
        xiaomi.brand = "小米";
        xiaomi.price = 2000;
        xiaomi.call("安然姐");
        xiaomi.sendMessage();
        Teacher Eoron = new Teacher();
        Eoron.age = 18;
        Eoron.name = "安然姐";
        Eoron.course = "Java";
        System.out.println(Eoron.say());
        Student czw = new Student();
        czw.age = 21;
        czw.name = "陈赵文";
        czw.sex = '男';
        czw.sid = 1;
        czw.exam();
        czw.study();
    }
}